package com.mall.user.service.impl;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.springframework.stereotype.Service;

@Service
public class TestServiceImpl {

    @SentinelResource(value = "test3",blockHandler = "test3Fallblock")
    public String test3() {
        return "test3";
    }


    public String test3Fallblock() {
        return "降级服务";
    }

}
